﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System.Map
{
    /// <summary>
    /// 位置，经纬度坐标
    /// </summary>
    public class Location
    {
        /// <summary>
        /// 纬度
        /// </summary>
        public double Lat { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        public double Lng { get; set; }
    }

    /// <summary>
    /// 坐标类型
    /// </summary>
    public enum LocationType
    {
        /// <summary>
        /// GPS坐标
        /// </summary>
        GpsLocation = 1,

        /// <summary>
        /// Baidu坐标,bd09ll百度墨卡托坐标
        /// </summary>
        BaiduLocation = 2,

        /// <summary>
        /// Google坐标
        /// </summary>
        GoogleLocation = 3,

    }
}
